Package-level declarations

Types

Link copied to clipboard
interface Arguments : InputLike

Tagging interface for virtual input types that wrap field arguments

Link copied to clipboard

Arguments for backward pagination through a connection.

Link copied to clipboard
interface CompositeOutput : GRT

Tagging interface for output types that have fields, i.e. interfaces, objects, and unions

Link copied to clipboard
interface Connection<E : Edge<N>, N> : Object

A paginated list of Edges plus a pageInfo object describing page boundaries.

Link copied to clipboard

Typed access to the pagination inputs (first, after, last, before) of a connection field.

Link copied to clipboard
interface Edge<N> : Object

A wrapper around a node that also carries a cursor encoding the item's position in the list. Clients pass the cursor back as after/before to resume pagination from that point.

Link copied to clipboard
interface Enum : GRT

Tagging interface for GraphQL enum types.

Link copied to clipboard

Arguments for forward pagination through a connection.

Link copied to clipboard
interface GRT

Base interface for all GraphQL Representational Types (GRTs).

Link copied to clipboard
interface Input : InputLike

Tagging interface for GraphQL input object types.

Link copied to clipboard
interface InputLike : GRT

Common supertype for Input and Arguments.

Link copied to clipboard

Tagging interface for GraphQL interface types.

Link copied to clipboard

Arguments for connections that expose all four pagination args ([first], [after], [last], [before]).

Link copied to clipboard
interface Mutation : Object

Tagging interface for the root mutation object

Link copied to clipboard

Tagging interface for types that implement the Node interface. This includes both Node interfaces and Node object implementations.

Link copied to clipboard

Tagging interface for object types that implement the Node interface

Link copied to clipboard

Tagging interface for object types

Link copied to clipboard
value class OffsetCursor(val value: String)

A cursor for offset-based pagination.

Link copied to clipboard
data class OffsetLimit(val offset: Int, val limit: Int)

Result of converting viaduct.api.types.ConnectionArguments to an offset/limit pair.

Link copied to clipboard
interface Query : Object

Tagging interface for the root query object

Link copied to clipboard

Tagging interface for union types